The alkyl groups are electron releasing group (+I), thus increases the electron density around the nitrogen thereby increasing the availability of the lone pair of electrons to proton or lewis acid and making the amine more basic. Hence more the no. of alkyl group more basic is the amine. Therefore the correct order is NH3<CH3NH2<(CH3)2N