A man charged with murdering a mother and her three children in a house fire has been moved to prison from hospital after coming out of a coma, a court heard.