TM02 (Dragon Claw) is found on Victory Road in XY. Requiring Surf and Waterfall, in the last grass area of Victory Road, go up a Waterfall. Surf to the end of the stream, turn right, and head past Hiker Corwin to a small alcove.

XY TM Location Guide - Smogon