How to set the camera to just move upwards?

Youve connected the X value, not the Z value.
Also you need to add the value, not subtract it.