Hi
You can add these lines to your code to enable pull-ups

Code:
TRISB = %11111111 ' Portb set to input

WPUB = %11111111 'all pull ups on portb enabled

INTCON2.7 = 0 ' 0 = enabled, 1 = off