Вы можете переместить фокус обратно, как только вход теряет фокус при щелчке на виртуальной клавиатуре.
let input = document.getElementById('input')
input.focus() // focus on input on page load
function handleInput (key) {
input.value += key // add key value to input
}
<button onclick="handleInput('a')">a</button>
<button onclick="handleInput('b')">b</button>
<button onclick="handleInput('c')">c</button>
<input onfocusout="this.focus()" id="input"/> <!-- focus on input back on onfocusout ie. when user click elsewhere -->
Ввод всегда в фокусе.