Is rice and or pasta bad for indigestion?

I'm on 30mg lansoprazole @day for acid reflux and would like to try eating pasta and rice again. Anyone any advice? I've heard rice e and pasta can trigger indigestion