Most people weren't aware that Honda built a hydrogen fuel cell electric car for a number of years - the Honda Clarity. In the US it was only available in limited numbers in Southern California.
https://en.wikipedia.org/wiki/Honda_Clarity As the Wikipedia article says, the limiting factor was there were very few hydrogen filling stations available.
I think it was mainly an experiment on Honda's part - it showed that they can make cars that work, but the problems are in producing the hydrogen, transporting and storing it, and dispensing it. There's still a long ways to go for those things before it would be a viable thing for the average individual. Like Tom said, using it for trains (or maybe 18 wheel trucks) is probably more likely in the near term.