You want to use thermal energy to make hydrogen, then burn that hydrogen to make thermal energy, possibly even to harvest that thermal energy to produce electricity...
Electricity is really just another means to the same end. You can't use all of the energy generated by a power plant, at the plant site, so you transport the energy to places where it's needed.