About 70% of the energy is in hydrogen, 30% is in carbon. 1 GJ of methane weighs about 20 kg, 5 kg of which comprise hydrogen. At 142 MJ/kgH2 (higher heating value, which implies condensation of the produced water), 710 MJ out of that 1 GJ is due to hydrogen.
With a 60%-70% efficient hydrogen fuel cell, about 50% of the electricity generated from hydrogen from pyrolysis of methane would drive the process, and 50% could go into the grid.