We evaluate the two-photon exchange corrections to the Lamb shift and hyperfine splitting of S states in electronic hydrogen relying on modern experimental data and present the two-photon exchange on a neutron inside the electronic and muonic atoms. These results are relevant for the precise extraction of the isotope shift as well as in the analysis of the ground state hyperfine splitting in usual and muonic hydrogen.