Bilinear forms with generalized Kloosterman sums