I'm using the following code in my project and it's working fine:
"How to show and hide soft keyboard in Android"
You can get any kind of Keyboard when you tap an input depending on its type
For a numeric keyboard, you need to set its type to number
<input type="number" name="txtNumber"/>