Wipro to invest $1 bn in cloud technologies over next three