Use numbers instead of text input where appropriate.

Since we expect this inputs to only ever accept numbers they should be number inputs because this allows for using number keys to change the value, as well as the arrows for certain browsers.