There's the flaw right there. It takes energy to produce hydrogen gas by electrolysis. Now, if you could somehow train magical unicorns to do it, you're all set. Otherwise...
Assuming you read the article, the issue us about the ROI on building wind and solar=powered electrolysis plants. This means you don’t need power transmission lines but creates new issues of how to transport and distribute hydrogen. Storage in metal hydrides has the most promise, but hydrogen is such a small molecule it will leak through places other gasses cannot.
Keep the government out of it and let private industry and private capital decide which technology best meets the needs of people who will actually pay for it.