Hydrogen has lots of problems. The fuel cells are currently ridiculously expensive, making EV batteries look positively thrifty. The best way to get hydrogen is from natural gas, but then that begs the point, why not just burn the natural gas and avoid an extra step? Storing hydrogen is also very difficult and expensive. The molecules are so small they can seep through most containers. Stopping that requires very expensive containers and then you still need to crack it out of NG or water. This is an energy expensive process. You need electricity for this. Why not just use the electricity directly?