Not a lot of science to it. It's just another clean gas - like propane. Store it in a tank then let it flow into the engine at a prescribed rate. There were several Hydrogen cars made in the past 20 years. The problem was the infra structure to fuel them wasn't in place. We tried a couple models (on loan from the manufacturers) at work. I remember one Toyota I was behind on the freeway the license was HNDNBRG
Both Propane & Hydrogen are called dry fuels. They don't put contaminates into the oil. When I had my propane car you changed the oil when it got thicker. Hydrogen does have an octane advantage 130 v 110 for propane. If they come up with a method to create hydrogen from water onboard the car they'll have something.
Now for the shocker: Toyota Mirai:
Holds about 5.6 kg of hydrogen, costing roughly $200 to fill from empty (delivering around 300 to 400 miles of theoretical range). That's 50-65 cents per mile just for the fuel. Over twice the price of gas at $5 a gallon. They cost about 52 grand new and are basically worthless on the resale market - A 2023 is $9,750 with less than 13,000 miles. Real cost for this owner was $3.23 per mile. BTW they only sell this car in Commiefornia.