The G8 summit has pledged US$20bn to boost agricultural production in some of the world's poorest countries over the next three years.