From a distance, it kind of looks like John's trying to give Sherlock mouth-to-mouth, not that would surprise me. He'd be pretty desperate so I could imagine him doing CPR on Sherlock, hoping for the smallest chance that he could bring Sherlock back to life.