It's just incrementing a local variable? If the button is declared in the Activity, just do this:
public class MainActivity extends Activity {
private Button button;
@Override
onCreate(){
super.onCreate();
button = ( Button ) findViewById( R.id.Button );
button.setOnClickListener( new View.OnClickListener() {
@Override
public void onClick( View v ) {
Number++;
}
} );
}
}