Gauge fields on noncommutative geometries with curvature