Batu Caves is about 40 km from the ocean.
If you're driving to a town near the beach or coastline, you could try Kelang.
How far is Hood River from the ocean
How far is Austin from the ocean
How far is Fayetteville, NC from the ocean
How far is Avila Beach from the ocean
How far is Las Cruces from the ocean
How far is Biloxi from the ocean
How far is Providence from the ocean
How far is Corpus Christi from the ocean
How far is Knoxville from the ocean
How far is Kaikoura from the ocean