To remove walls in The Sims 2 on PC, open the Buy/Build catalogue and look at the toolbar there.
You will see the hand tool and a few small icons. Select the one that looks like a hammer, and you can then click to delete walls, floors, and other structures. It is a quick way to remodel your home.