How can I move a camera with input

Hey Guys! I’m using the top down template and I’ve setup my own camera which is fixed right now. I want to move the camera (RTS style). For now I just want to move it in the forward axis with the W key pressed.

How can I achieve this effect? I’ve tried setting the local offset (X-axis = 10) on the camera component. And for testing purpose I’ve also used a print string whenever the Key is pressed. But it never prints.

Please help. Thanks.