Assuming initial neutrality (equal number of protons and electrons), when an atom gains electrons, it gains a negative charge. When it loses them, it gains a positive charge. This is due to the proportion of electrons to protons. More protons will cause an atom to have a positive charge, more electrons will cause an atom to have a negative charge.
So when a nitrogen gains two electrons and becomes a nitrogen ion, it will have a negative electrical charge.