Comes from sword fighting.
It is used as a response. The first person says "En garde!" (On guard) ... and the second person says "Touché !“
Touché means "touched", and i think it is said when the person is hit by the opponent's sword.
So it means like , " You got me ! " (" You hit me! " )