Unsure if you know but there are keyboards now coated with something or made with some sort of plastic that inhibits the growth of bacteria.
I think they are expensive tho.
/just searched but couldn’t find them lol but I assure you they do exist. I have no idea on how effective they are tho.