The rich should contribute to education: PM