As Musk pointed out some years ago, hydrogen is not so much a fuel as it is an energy storage medium. Right out of the gate creating the hydrogen reduces the system efficiency by about 50% because of the electricity required.
In essence then hydrogen fuel cells are just a less efficient form of electricity that require a complex and expensive mechanism to turn into motive force. Possibly useful for shipping or trains but not the way to bet for cars.