Where would I put the apostrophe on:

Close the children's mouths?

Since there is more than one child and more than one mouth, is it before or after the s?

You have it right.