How should I simulate keypad combination with touch, such as up left, down left, etc.
I don't think creating a keypad sprite on screen would be comfortable to use. Especially on small screen.
Develop games in your browser. Powerful, performant & highly capable.
you can try by creating a joystick :