Use the left and right arrow keys to move. Hit with "A" and "S." When an opponent attacks you, hit them from the opposite side from where they tried to hit you.
I just did this to see how possible it is to recreate Punch-Out!! in Construct 3.
Credits:
Music - Nintendo.