Why not just generate the hydrogen in an industrial facility and just burn it in a combustion engine?
The engine and the production facility can be optimized for their sole purpose.

Your engine design would need a constant source of electrical energy. If thats availible we could use an e-engine.