The correct answer is B. Maharashtra – Karnataka – Goa.
The Konkan Railway is a 760-kilometer (470 mi) long railway line in India that runs along the western coast of the country. It connects the states of Maharashtra, Goa, Karnataka, and Kerala. The railway was built in the 1990s and was completed in 1998. It is one of the most scenic railways in India and offers stunning views of the Arabian Sea.
Option A is incorrect because it includes Andhra Pradesh, which is not a state on the western coast of India.
Option C is incorrect because it includes Kerala, which is already included in Option B.
Option D is incorrect because it does not include Maharashtra, which is the starting point of the Konkan Railway.