I have seen yellowed keys whitened with peroxide but I don't think you will be able to get the grey dye out of the original plastic.
Any spray paint will stick but then it will wear off in time.
Even if you use a durable clear coat it will still wear I'm afraid.
I don't think there is a way to get them to stay white.