Rabat - The World Bank has granted Morocco two loans totaling approximately $459 million to develop capital markets and fund the drinking water supply project in rural areas.