Molecular gas in the Epoch of Reionization