It is because, hydrogen is a diatomic gas, whereas helium is monoatomic gas. As number of atoms in one molecule of hydrogen are double, as compared to one molecule of helium, therefore one mole of hydrogen has double the atoms,, as compared to helium at the same temperature and pressure.