Foreign investors invest 22,452 crores in the Indian stock market