To track down Kyogre, start at the Weather Institute—the same place where you obtained Castform. The scientist who gave you Castform will point you toward a particular route.
Head there and keep an eye out for a cave or a patch of dark, stormy water. The area is usually drenched in rain, which is your clue that you're in the right spot.
Warning: Be sure to bring Pokémon that know Dive and Flash before you set out.
Note: You'll need to defeat the Elite Four before you can actually capture Kyogre.