Do hydrogen buses have a role in an electric future?

The government wants the UK’s urban transport to become electrically powered. So why are cities increasingly interested in powering buses with hydrogen (or more accurately with fuel cells, which use hydrogen, in electric drive trains)?