The US-led coalition fighting ISIL in Iraq and Syria has spent two days working on plans to drive the group out of its strongholds in Raqqa and Mosul.