Hydrogen has one proton and no neutron. Its atomic number is one and electronic configuration is 1s1.
Deuterium has one neutron and one proton. The mass number of deuterium is 2. Its electronic configuration is same as that of hydrogen, 1s1 as it is an isotope of hydrogen.