India 's foreign ministry said Friday the dam is being built in part of the Himalayan valley that is " illegally " occupied by Pakistan .