Two Edinburgh students have won an international social enterprise competition to find innovative solutions to global issues.