supporting input digits using numpad