This function not working for me [\d+\.?\d{0,2}]

Dont understand? what do you mean?

You can make any keypad you like or just use N in one of the sections for a number pad, see here;

Or do you mean using numberpad on POS screen?