It is simpler than it looks. Drop your fishing rod into the water and wait.
When a fish nibbles, hold off a moment longer. Once it starts circling the bait, pull the rod out by clicking your character or pressing A.
One extra tip: listen. There is a small plop sound right before the moment to strike, and that audio cue is often easier to react to than watching the float.