If you try to limit the quantity with the add to cart like this you can have problems if the user updates their quantity to less than 20 in the cart. This is why it is best to use a unit type of quantity where 1 unit equals 20 items. You can just add some helper text to your page to inform the user that they are ordering this item in units of 20.