Hydrogen is an essential industrial input and feedstock for many processes, including production of fertilizer in the form of ammonia. So we will be producing hydrogen for that, without a doubt.
It is estimated that by 2030 or so that electrolyzers will be as cheap as steam methane reformation (SMR), with or without carbon capture on the SMR. We will see if that prediction pans out! The IEA has put approximately 850GW of hydrogen production as a feasibly goal by 2030 as part of their plan for keeping climate warming at 1.5C, with half of that from electrolyzers. This may be fairly plausible, as Europe has mandated 40GW of electrolyzers by 2030, and there are currently 154GW of hydrogen electrolyzers in the pipeline:
https://www.rechargenews.com/energy-transition/growing-ambit...