A Gartner survey says spending on cloud-based programs will lead the way as organizations modernize their applications.