The plot (and how it was planned and executed) was addressed in The Official Star Wars Fact File #101. In short, the hit was paid for by Dooku and sub-contracted to Zam by Jango Fett. She used her shape-shifting skills to determine the Senator's schedule and (presumably) to get a small bomb onto the platform which she then detonated visually.
CONTRACT KILLER
Jango Fett was asked to take on a particular contract by the man who had given him the job with the Kaminoans - a man Jango knew as
Tyranus. The job was to arrange the death of a high-profile politician
who had crossed one of Tyranus' business contacts. The fee was
considerable, and Jango was happy to farm the job out to Zam Wesell.
It seemed a simple enough contract.
The target was a member of the Senate - an individual who spent much of her time in the public eye. This made her extremely vulnerable to a
clever assassin. However, the target was a former Queen of Naboo, a
friend to the Jedi and a close associate of the Supreme Chancellor of
the Republic.
The Official Star Wars Fact File #101 - Zam Wesell
and
TO KILL A SENATOR
Zam picked her moment carefully. The target was due to return to
Coruscant for a critical vote, and her landing would be fairly
predictable. Zam used her shape-shifting abilities to discover where
and when the target be returning. Senator Padme Amidala of Naboo would
die.
Through her usual guile and cunning Wesell was able to plant a bomb in
the landing platform or which her target would land. Observing from a
high building almost a kilometre away, Zam picked her moment
perfectly. The silvery ship bearing Amidala touched down flanked by
several fighter craft. The Senator came down the landing ramp and, as
her feet touched the platform, Wesell detonated her device. There were
few survivors, and the news networks were flooded with stories and
pictures of Zam's success.
The Official Star Wars Fact File #101 - Zam Wesell
According to the old Star Wars databank Zam was able to learn the Senator's schedule from Theomet Danlé, one of the guards who ultimately died on the ship. His (unwitting) involvement in the assassination plot and vocal support for the Spice Miner dispute seems to be what led to the allegations against the Naboobian Spice Miners.
Unable to make a living with their trade [as Spice Miners], the Danlé family relied on
Theomet's income, but it was not enough. Borderline poverty
contributed to the death of Theomet's grandfather, which devastated
the Danlés, and shook Theomet's loyalty and resolve. He questioned the
policies of his monarch, and of the Senator who backed the Queen. One
particularly bitter evening, Theomet turned to drink, and his venomous
alcohol-fueled complaints in a crowded bar attracted the attention of
Zam Wesell.
Disguised as a local journalist, Zam explained to Theomet that she
planned to expose Padmé Amidala's hypocrisy to the public, but she
needed access to the Royal Naboo Cruiser in order to plant a listening
device. In a fit of bad judgment -- and perhaps beguiled by Zam's
adopted form -- Theomet agreed. Little did he know he would be
facilitating the planting an explosive charge that would destroy the
cruiser and kill him in a fiery blast.
Star Wars Databank: Theomet Danlé