You should start by studying the official templates included in Construct 3. You will learn a lot from them.
To change the animation when a key is pressed, add Keyboard object to the project and add this event:
Keyboard on key A pressed -> Sprite set animation "Move"