
The keyboard membranes Mark points to are very good replacements and have a more solid pair of ribbons than the original.
One thing I have discovered with them is that once fitted leave them fitted as at end of the ribbon there appears to be some sort of conductive "carbon" like material which, as I found to my cost, won't stand repeated connect/disconnect as it wears away this material very quickly rendering the ribbon useless and unlike the original cannot be cut back to rectify.
An alternative to the membrane can be found here and I thoroughly recommend them.
https://www.ginger-electronic.com/en/