The primary motivation is energy independence: currently, Japan is the world's largest importer of both coal and natural gas.
As H2 would be supplied by reformation of methane hydrates, it is still a fossil fuel and does not solve carbon emissions. But the idea is that emissions would be substantially reduced compared to the current situation, where a large portion of Japan's energy is supplied by burning imported coal and oil.