Either way would be correct, but if you have my professor and you write NH2 with an electron pair he'll scold you and tell you that your lone pairs only come on Lewis structures! I got a 98 on my last test and one of the points I lost was for that very thing.