Accept input only number with 2 decimal javascript