OK:
if you have 11 coins that are head up, then pick 11 random coins from the big pile of 51.
for example: let's say 2 out of 11 are head up. this means 9 head up coins are still left on the big pile.
turn around all coins of the 11 you picked, and you automatically have 2 groups of 9 coins on both piles.
easy eh?
edit: well done phil!