I only have avaliable 1/4 watt.
I doubt they would fit - you might have to buy tiny ones - you'd have to buy SM ones anyway, so makes no difference buying tiny wire ended ones.
Space isn't an issue - you don't have to fit the resistor on the same footprint - available height between PCB and keypad is likely to be the issue, hence my suggestion of tiny wire ended resistors.