The UK government has published the first national hydrogen energy strategy to include widespread use of fuel cells in transport, including railways.