You can use the SetAttribute widget: https://appstore.home.mendix.com/link/app/5958/
Add a class to your input field and target it with the widget. Using the widget, you can add type=tel to your input field, which should do exactly what you want.
This might help you: https://forum.mendix.com/link/questions/8780
Kind regards,
Tim Vredevoort