Crossy-roads-like movement (EDITED)

Greetings! I want to make controls like in the game mentioned above.

There is a control system offered on YouTube. (1st screen)
While using it I can press W and move forward for infinite distance. But the goal is to make movement for a certain number of distance after single pressing of key.

Press W-> move 50 units forward.
Press A-> move 50 units forward.
Press S-> move 50 units forward.
Press D-> move 50 units forward.

I tried to put InputAction, specify axis and add an int to it but nothing happens. (2nd screen)
Any help? Thanks!