Across the country, states are inking agreements with neighbors or striking out on their own to pursue billions in federal funding to set up “hydrogen hubs,” clustered centers for production, storage and use of the gas that many see as a crucial piece of the puzzle for decarbonizing the U.S. economy.