To perform a Mercy you must defeat your opponent, then when finish him is on screen move four steps away from your opponent (mid-distance) and then spam
and
to perform a Mercy. This will revive your opponent with minimal health.
Easiest way to grind ten is to set rounds to 1 and play local versus on Very Easy. Get a Mercy, then just hit Retry and go again.