Two kids in their pajamas.
A couple of children are wearing pajamas.
Kids are children.
Two kids are a couple of children, and in their pajamas is a paraphrase of are wearing pajamas.
A couple of children is made up of two kids.