Maybe you should just show the native numpad. Currently, the input field assumes arbitrary input. Shouldn't it already only show the native numpad if the input type is correctly set to only allow digits?