PM takes stock of flood situation in Karnataka