Two-state model for electron capture in H+ + H2 collisions at keV impact energies