Does any one know any way to connect master to couple of slave using only two wires and a data buffer?
CANbus? It's widely used in automotive, some microcontroller families have it as an option.
Here is a decent intro to CAN.
(I'm ignoring the RAM/buffer part of what you said, because I have no idea if that's necessary or just something you made up on the spot to help solve the problem. CAN does have "remote frames" though, which can do something similar.)
Or along the same lines, maybe LIN, which I don't really know much about.
It would help if you told us a bit more, like distances involved, data rates, hobby or industry, and that sort of thing.