The Maldives has curbed movement on several resort islands, authorities said on Sunday, after the country reported its first two cases of coronavirus.