The optimal mode of transport is the Destination Blue Lagoon bus which departs every hour from Reykjavík.
They offer pick up at Harbour Skarfabakki and Bus stop 4 Miðbakki. You can choose your pick up location in the drop down list when booking your transfer, depending on where your cruise ship will dock.
For complete info and bookings, visit Destination Blue Lagoon.