Support for quantities was added in Astropy 0.3 (see here), so what you are seeing is the expected behavior for Astropy 0.2.x. Here is the output with 0.3:
In [1]: from astropy import cosmology
In [2]: cosmology.core.set_current(cosmology.Planck13)
In [3]: H0 = cosmology.H(10**6)
In [4]: print H0
6.47883897961e+11 km / (Mpc s)
Note that you can also do:
In [8]: from astropy.cosmology import Planck13
In [9]: print Planck13.H(10**6)
6.47883897961e+11 km / (Mpc s)
which is more concise.