"A pen" is singular, so there is one pen to share between them.
"They have (some) pens" means there are several pens, but it's not clear if there are enough pens, or too many.
Christopher's example of "they each have a pen" means every person has their own pen. :)