European Union leaders have agreed on a 90 billion euros loan for Ukraine, but it will be financed from the bloc's budget.