A cup of coffee sitting next to a keyboard 
A cup on a desk with a keyboard and mouse.
a cup with coffee sitting by a keyboard
A computer mouse and a  plate on a desk.
a table with a mouse and a keyboard on it