Summary:

Once you've learned the "Engineering" tech, you can move across rivers on roads/railroads without paying the standard penalty for crossing the river. If you don't have Engineering yet, you must pay the penalty even if crossing over on a road.