Put Sonic as the leader and Amy as your partner. Grind on a rail and Sonic will grind with a surfboard.