The First Minister predicted the heating systems of the future will involve both heat pumps and hydrogen.