How can I create a number input like this?