Number of lone pairs of electrons in the central atom of and
respectively, are:

So, lone pair on central atoms are 2,1,2,0
So option (2) is correct.
Study 40% syllabus and score up to 100% marks in JEE