Depending on what ship and the type of cabin you book, you may already have a small table in the cabin. My friend took his and just put it on the desk in a standard balcony cabin and slept on that side of the bed. They have extra extension cords if needed, as well.
Of note, you can also order distilled water (free of charge) to your cabin ahead of time. They will keep you stocked.