Most trains are diesel-electric, so they already have batteries? For those unaware, in this type of engine the diesel engine is actually a generator which charges the batteries and then the electrical power is used to drive the train. It's actually more efficient for the torque needed.
Diesel-electric trains do not have traction batteries. And they don't even carry half of the reactants for their engines.