I don't know about the alarm, but if you take out the factory headunit you WILL lose your keyless entry.
The keyless entry runs through the stock headunit, thats why people who have it relocate the old headunit either below the new headunit or they stick it in the glovebox.