1 Drain pineapple pieces and reserve the pineapple juice. Pour both coconut milk and pineapple juice into a big measuring jug, add water until it reaches the accurate amount of liquid required to cook the rice. Use the coconut pineapple water to cook the rice.