can i connect two arduino UNO together

i need to send and receive data from UNO board to another one

first thought would be soft serial, its available in the ide

Yep.

With ordinary serial just connect RX from board A to TX on Board B, TX from Board A to RX on Board B and very important connect ground from board A to ground on board B.

MikMo: Yep.

With ordinary serial just connect RX from board A to TX on Board B, TX from Board A to RX on Board B and very important connect ground from board A to ground on board B.

Not need any code for interface

You just use the ordinary serial commands in your Arduino code:

http://arduino.cc/en/Reference/Serial