You have to purchase the Evade Attack combat upgrade. It's 50,000 tech points.
Once purchased, press A, then, after a roll, press X to perform a Evade Attack. You don't have to wait for an enemy to attack first, and you can do this multiple times on one enemy.
When fighting a Demolition Mech, you can easily get all 20.